QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += main.cpp \
    3DAlgorithm/CBB3DAlgorithm/Fitting/FittingBase.cpp \
    3DAlgorithm/CBB3DAlgorithm/Fitting/GradientBase.cpp \
    3DAlgorithm/CBB3DAlgorithm/Fitting/gauss/CircleFitter.cpp \
    3DAlgorithm/CBB3DAlgorithm/Fitting/gauss/ConeFitter.cpp \
    3DAlgorithm/CBB3DAlgorithm/Fitting/gauss/CylinderFitter.cpp \
    3DAlgorithm/CBB3DAlgorithm/Fitting/gauss/FittingCircle2D.cpp \
    3DAlgorithm/CBB3DAlgorithm/Fitting/gauss/FittingLine.cpp \
    3DAlgorithm/CBB3DAlgorithm/Fitting/gauss/FittingLinePCA.cpp \
    3DAlgorithm/CBB3DAlgorithm/Fitting/gauss/FittingPlane.cpp \
    3DAlgorithm/CBB3DAlgorithm/Fitting/gauss/FittingPlanePCA.cpp \
    3DAlgorithm/CBB3DAlgorithm/Fitting/gauss/GradientConeFitter.cpp \
    3DAlgorithm/CBB3DAlgorithm/Fitting/gauss/SphereFitter.cpp \
    3DAlgorithm/commonFunc/BasicTools/IOType/PointCloud.cpp \
    3DAlgorithm/commonFunc/BasicTools/Math/Geometry.cpp \
    3DAlgorithm/commonFunc/BasicTools/Math/Simplex.cpp \
    3DAlgorithm/commonFunc/BasicTools/PolyMesh/IOManger.cpp \
    3DAlgorithm/commonFunc/BasicTools/PolyMesh/PolyMesh.cpp \
    3DAlgorithm/commonFunc/BasicTools/PolyMesh/PolyMeshIterators.cpp \
    3DAlgorithm/commonFunc/BasicTools/PolyMesh/PolyMesh_Base.cpp \
    3DAlgorithm/commonFunc/BasicTools/PolyMesh/vtk.cpp \
    camera.cpp \
    centerwidget.cpp \
    element/circle.cpp \
    element/cylinder.cpp \
    element/element.cpp \
    element/line.cpp \
    element/plane.cpp \
    element/point.cpp \
    fitdialog.cpp \
    mainwindow.cpp \
    tree/treeitem.cpp

HEADERS += mainwindow.h \
    3DAlgorithm/CBB3DAlgorithm/Fitting/FittingBase.h \
    3DAlgorithm/CBB3DAlgorithm/Fitting/GeometryTypes.h \
    3DAlgorithm/CBB3DAlgorithm/Fitting/GradientBase.h \
    3DAlgorithm/CBB3DAlgorithm/Fitting/gauss/CircleFitter.h \
    3DAlgorithm/CBB3DAlgorithm/Fitting/gauss/ConeFitter.h \
    3DAlgorithm/CBB3DAlgorithm/Fitting/gauss/CylinderFitter.h \
    3DAlgorithm/CBB3DAlgorithm/Fitting/gauss/FittingCircle2D.h \
    3DAlgorithm/CBB3DAlgorithm/Fitting/gauss/FittingLine.h \
    3DAlgorithm/CBB3DAlgorithm/Fitting/gauss/FittingLinePCA.h \
    3DAlgorithm/CBB3DAlgorithm/Fitting/gauss/FittingPlane.h \
    3DAlgorithm/CBB3DAlgorithm/Fitting/gauss/FittingPlanePCA.h \
    3DAlgorithm/CBB3DAlgorithm/Fitting/gauss/GradientConeFitter.h \
    3DAlgorithm/CBB3DAlgorithm/Fitting/gauss/SphereFitter.h \
    3DAlgorithm/commonFunc/BasicTools/Math/Algorithms.h \
    3DAlgorithm/commonFunc/BasicTools/Math/MPoint3.h \
    3DAlgorithm/commonFunc/BasicTools/Math/MVector3.h \
    3DAlgorithm/commonFunc/BasicTools/Math/Massage.h \
    3DAlgorithm/commonFunc/BasicTools/Math/Mrgb.h \
    3DAlgorithm/commonFunc/BasicTools/include/IOType/PointCloud.h \
    3DAlgorithm/commonFunc/BasicTools/include/Math/Algorithms.h \
    3DAlgorithm/commonFunc/BasicTools/include/Math/Geometry.h \
    3DAlgorithm/commonFunc/BasicTools/include/Math/MMatrix3.h \
    3DAlgorithm/commonFunc/BasicTools/include/Math/MPoint3.h \
    3DAlgorithm/commonFunc/BasicTools/include/Math/MVector3.h \
    3DAlgorithm/commonFunc/BasicTools/include/Math/Massage.h \
    3DAlgorithm/commonFunc/BasicTools/include/Math/Mrgb.h \
    3DAlgorithm/commonFunc/BasicTools/include/Math/Simplex.h \
    3DAlgorithm/commonFunc/BasicTools/include/PolyMesh/IOManager.h \
    3DAlgorithm/commonFunc/BasicTools/include/PolyMesh/MemoryPool.h \
    3DAlgorithm/commonFunc/BasicTools/include/PolyMesh/PolyMesh.h \
    3DAlgorithm/commonFunc/BasicTools/include/PolyMesh/PolyMeshIterators.h \
    3DAlgorithm/commonFunc/BasicTools/include/PolyMesh/PolyMesh_Base.h \
    3DAlgorithm/commonFunc/BasicTools/include/VTK/vtk.h \
    camera.h \
    centerwidget.h \
    element/circle.h \
    element/cylinder.h \
    element/element.h \
    element/line.h \
    element/plane.h \
    element/point.h \
    fitdialog.h \
    tree/treeitem.h

FORMS += \
    fitdialog.ui \
    mainwindow.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

INCLUDEPATH += ./3DAlgorithm/commonFunc/BasicTools \
./3DAlgorithm/commonFunc/BasicTools/include \
./3DAlgorithm/CBB3DAlgorithm \
D:/conan/data/eigen/3.4.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/eigen3


# 外部库添加 https://blog.csdn.net/weixin_44518102/article/details/125436218
# win32: LIBS += -L$$PWD/Assimp/lib/ -llibassimp.dll

# INCLUDEPATH += $$PWD/Assimp/include
# DEPENDPATH += $$PWD/Assimp/include

RESOURCES += \
    res.qrc
